import Vue from 'vue'
import Router from 'vue-router'
Vue.use(Router)
//登录注册改密码
const registor = resolve => require(['../page/login/registor.vue'], resolve)
const login1 = resolve => require(['../page/login/login1.vue'], resolve)
const login2 = resolve => require(['../page/login/login2.vue'], resolve)
const forgetPass = resolve => require(['../page/login/forgetPass.vue'], resolve)
const modifyPassword = resolve => require(['../frame/settingFrame/modifyPassword.vue'], resolve)//修改密码
// 首页
const index = resolve => require(['../page/index.vue'], resolve)
const home = resolve => require(['../page/home.vue'], resolve)
const ImDoctor = resolve => require(['../page/doctorRoom/ImDoctor.vue'], resolve) //我是医生
const liveZone = resolve => require(['../page/home/liveZone.vue'], resolve) //课程专区
const docConsultation = resolve => require(['../frame/imDoctor/myOrder/docConsultation.vue'], resolve) //专家会诊
const appointmentTime = resolve => require(['../frame/myClinic/appointmentTime.vue'], resolve) //患者管理
const searchCourse = resolve => require(['../page/home/searchCourse.vue'], resolve) //搜索课程
const homeDetail = resolve => require(['../page/home/homeDetail.vue'], resolve) //课程详情
const fullScreen = resolve => require(['../page/home/fullScreen.vue'], resolve) //视频全屏页
const column = resolve => require(['../page/column.vue'], resolve) //专栏
const Columndetail = resolve => require(['../page/column/columndetail.vue'], resolve)//专栏订阅详情 
// 团购
const groupbuy = resolve => require(['../page/groupbuy.vue'], resolve)
const groupbuycommoditydetails = resolve => require(['../page/groupbuy/groupbuycommoditydetails.vue'], resolve)//商品详情
const firmOrder = resolve => require(["../page/groupbuy/firmOrder.vue"], resolve)//确认订单
const selectAddress = resolve => require(["../page/groupbuy/selectAddress.vue"], resolve) //选择收货地址
const addAddress = resolve => require(["../page/groupbuy/addAddress.vue"], resolve) //添加收货地址
//我的
const my = resolve => require(['../page/my.vue'], resolve)
const personalInfo = resolve => require(['../page/my/personalInfo.vue'], resolve)//个人信息
const myCollect = resolve => require(['../page/my/myCollect.vue'], resolve) //视频收藏
const authentication = resolve => require(['../frame/myAccountFrame/authentication.vue'], resolve) //医师认证
const uploadFile = resolve => require(['../page/my/uploadFile.vue'], resolve)//会员上传视频
const fileDetail = resolve => require(['../frame/uploadFileFrame/fileDetail.vue'], resolve) //上传完视频添加信息
const dailyProblem = resolve => require(['../page/my/dailyProblem.vue'], resolve) // 点滴积累
const orderManagement = resolve => require(['../page/my/orderManagement.vue'], resolve)//团购订单
const myTake = resolve => require(['../page/my/myTake.vue'], resolve) //专栏订阅
const myNews = resolve => require(['../page/my/myNews.vue'], resolve)//我的消息
const myNewsDetails = resolve => require(['../page/my/myNewsDetails.vue'], resolve)//消息详情
const myCourse = resolve => require(['../page/my/myCourse.vue'], resolve) //我的课程
const myAccount = resolve => require(['../page/my/myAccount.vue'], resolve)// 我的账户
const setting = resolve => require(['../page/my/setting.vue'], resolve)// 设置
const createCourse = resolve => require(['../page/my/createCourse.vue'], resolve) //创建课程
const addCourse = resolve => require(['../page/my/addCourse.vue'], resolve) //创建新课程
//患者管理
const allpatient = resolve => require(['../frame/myClinic/allpatient.vue'], resolve) //所有患者
const addPatient = resolve => require(['../frame/myClinic/addPatient.vue'], resolve) //新建患者
const patientDetails = resolve => require(['../frame/myClinic/patients/patientDetails.vue'], resolve) //患者的预约记录
const addNewAppointment = resolve => require(['../frame/myClinic/addNewAppointment.vue'], resolve) //新增预约
const reservation_details = resolve => require(['../frame/myClinic/patients/reservation_details.vue'], resolve) //预约详情
const medical_records = resolve => require(['../frame/myClinic/patients/medical_records.vue'], resolve) //医生病历记录
const medical_details = resolve => require(['../frame/myClinic/patients/medical_details.vue'], resolve) //病例详情
const edit_medical = resolve => require(['../frame/myClinic/patients/edit_medical.vue'], resolve) //编辑病历
const selectpatient = resolve => require(['../frame/myClinic/selectpatient.vue'], resolve) //选择患者
const patienttime = resolve => require(['../frame/myClinic/patients/patienttime.vue'], resolve) //通过时间查询的预约记录
//个人信息
const changeNickName = resolve => require(['../frame/personalFrame/changeNickName.vue'], resolve)//修改昵称
const personalHomePage = resolve => require(['../frame/personalFrame/personalHomePage.vue'], resolve)//个人主页
const personalData = resolve => require(['../frame/myAccountFrame/authenticationFrame/personalData.vue'], resolve) //个人基本资料
const qualificationCertificate = resolve => require(['../frame/myAccountFrame/authenticationFrame/qualificationCertificate.vue'], resolve) //个人资格证书认证
// 回访
const returnVisit = resolve => require(['../frame/myClinic/returnVisit.vue'], resolve) //回访管理
const addReturnVisit = resolve => require(['../frame/myClinic/addReturnVisit.vue'], resolve) //创建回访
//我的账户
const recharge = resolve => require(['../frame/myAccountFrame/recharge.vue'], resolve) //充值
const withdraw = resolve => require(['../frame/myAccountFrame/withdraw.vue'], resolve) //提现
//点滴积累详情
const doProblem = resolve => require(['../frame/dailyProblemFrame/doProblem.vue'], resolve)//积累做题
const testScores = resolve => require(['../frame/dailyProblemFrame/testScores.vue'], resolve) //考试成绩
//订单
const docOrder = resolve => require(['../frame/imDoctor/myOrder/docOrder.vue'], resolve) //医生我的订单管理
const docOrderDetails = resolve => require(['../frame/imDoctor/clinicDetail/docOrderDetails.vue'], resolve) //医生确认下单订单详情
const useTime = resolve => require(['../frame/imDoctor/clinicDetail/useTime.vue'], resolve) //医生使用时间
const addOrder = resolve => require(['../frame/imDoctor/myOrder/addOrder.vue'], resolve) //加单列表
const addOrderDetails = resolve => require(['../frame/imDoctor/myOrder/addOrderDetails.vue'], resolve) //加单详情
const docComment = resolve => require(['../frame/imDoctor/myOrder/docComment.vue'], resolve) //评价
//下单
const selectClinic = resolve => require(['../page/doctorRoom/selectClinic.vue'], resolve) //选择诊室
const clinicDetail = resolve => require(['../frame/imDoctor/clinicDetail/clinicDetail.vue'], resolve) //诊室详情
const toolsSelect = resolve => require(['../frame/imDoctor/clinicDetail/toolsSelect.vue'], resolve) //诊室工具选择
const cityClinic = resolve => require(['../frame/imDoctor/city/city_clinic.vue'], resolve) //医生选择城市找诊室 默认当前城市
//会诊订单
const consultation_order = resolve => require(['../frame/imDoctor/myOrder/consultation_order.vue'], resolve) //会诊订单
const consultation_orderdetails = resolve => require(['../frame/imDoctor/myOrder/consultation_orderdetails.vue'], resolve) //会诊订单详情
const expertList = resolve => require(['../frame/imDoctor/city/expertList.vue'], resolve) //选择专家
const payConsultation = resolve => require(['../frame/imDoctor/city/pay_consultation.vue'], resolve) //打赏支付
const NotFoundComponent = resolve => require(["../page/notFoundComponent.vue"], resolve) //404页面




// <!-----------我是诊室-------------->
const ImClinic = resolve => require(['../page/doctorRoom/ImClinic.vue'], resolve) //我是诊室
const clinicAddress = resolve => require(['../frame/imClinic/clinicAddress.vue'], resolve) //诊室认证
const customerReviews = resolve => require(['../frame/imClinic/customerReviews.vue'], resolve) //牙医评价显示
const customerReviews1 = resolve => require(['../frame/imClinic/customerReviews1.vue'], resolve) //客户评价显示
const customerReviews2 = resolve => require(['../frame/imClinic/customerReviews2.vue'], resolve) //患者意见显示
const clinicAllEquip = resolve => require(['../frame/imClinic/clinicAllEquip.vue'], resolve) //我的所有设备
const clinicEquip = resolve => require(['../frame/imClinic/clinicEquip.vue'], resolve) //申请椅位
//我是患者
const ImPatient = resolve => require(['../page/doctorRoom/ImPatient.vue'], resolve) //我是患者
const findDoctor = resolve => require(['../frame/imPatient/findDoctor.vue'], resolve) //寻找医生
const findClinic = resolve => require(['../frame/imPatient/findClinic.vue'], resolve) //寻找诊室
const subCustomData = resolve => require(['../frame/imPatient/subCustomData.vue'], resolve) //客户下单
const customOrder = resolve => require(['../frame/imPatient/customOrder.vue'], resolve) //客户订单列表
const advisory = resolve => require(['../frame/imPatient/advisory.vue'], resolve) //客户在线咨询列表
const cityList = resolve => require(['../frame/imPatient/cityList.vue'], resolve) //客户城市列表
const cust_orderdetail = resolve => require(['../frame/imPatient/cust_orderdetail.vue'], resolve) //客户订单列表
const pintuan = resolve => require(["../page/groupbuy/pintuan.vue"], resolve)
const shoppingcart = resolve => require(["../page/groupbuy/shoppingcart.vue"], resolve)
const Coupon = resolve => require(["../page/groupbuy/Coupon.vue"], resolve)

//pass
const clinicAllApplication = resolve => require(['../frame/imClinic/clinicAllApplication.vue'], resolve) //我的共享查询*
const timingInstructions = resolve => require(['../frame/imClinic/timingInstructions.vue'], resolve) //计时说明*
const timing = resolve => require(['../frame/imClinic/timing.vue'], resolve) //计时*
const card = resolve => require(['../frame/imClinic/card.vue'], resolve) //办卡*
const chargeDetails = resolve => require(['../frame/imClinic/chargeDetails.vue'], resolve) //费用明细*
const doctorvipAuth1 = resolve => require(['../page/doctorRoom/doctorvipAuth1.vue'], resolve) //会员充值
const vipPay = resolve => require(['../page/doctorRoom/vipPay.vue'], resolve) //升级会员级别时支付
const authSuccess = resolve => require(['../page/doctorRoom/authSuccess.vue'], resolve) //支付成功成为会员
const setAddress = resolve => require(['../page/doctorRoom/setAddress.vue'], resolve) //设置地址
const addClinicAddress = resolve => require(['../page/doctorRoom/addClinicAddress.vue'], resolve) //新增地址
const clinicAllComment = resolve => require(['../frame/imDoctor/clinicDetail/clinicAllComment.vue'], resolve) //诊室所有评价
const docSubmitOrder = resolve => require(['../frame/imDoctor/clinicDetail/docSubmitOrder.vue'], resolve) //医生购物车、
const clinicCard = resolve => require(['../frame/imDoctor/clinicDetail/clinicCard.vue'], resolve) //诊室办卡详情
const docShare = resolve => require(['../frame/imDoctor/myOrder/docShare.vue'], resolve) //分享好友
const doctortype = resolve => require(['../frame/imDoctor/myOrder/doctortype.vue'], resolve) //医生的会员级别及剩余时间
const doctorAuth = resolve => require(['../page/doctorAuth.vue'], resolve) //身份选择
const myClinic = resolve => require(['../page/my/myClinic.vue'], resolve) //我的诊室 ----
const myIc = resolve => require(['../page/my/myIc.vue'], resolve) //我的ic卡
const supplyRoom = resolve => require(['../page/my/supplyRoom.vue'], resolve)//我的供应室
const myearnings = resolve => require(['../frame/myAccountFrame/myearnings.vue'], resolve) //我的收益
const amountBeSettled = resolve => require(['../frame/myAccountFrame/amountBeSettled.vue'], resolve) //待结算金额
const withdrawDetail = resolve => require(['../frame/myAccountFrame/withdrawDetail.vue'], resolve) //提现明细
// 患者病历管理
const selectProject = resolve => require(['../frame/myClinic/selectProject.vue'], resolve) //选择项目*
const clinicDetails = resolve => require(['../frame/myClinic/patients/clinicDetails.vue'], resolve) //患者详情
const reservation_record = resolve => require(['../frame/myClinic/patients/reservation_record.vue'], resolve) //预约记录
const allrecord = resolve => require(['../frame/myClinic/patients/allrecord.vue'], resolve) //预约记录
const medical_records1 = resolve => require(['../frame/myClinic/patients/medical_records1.vue'], resolve) //病例记录
const editEvery = resolve => require(['../frame/myClinic/patients/editEvery.vue'], resolve) //编辑某一项
const docUploadImg = resolve => require(['../frame/myClinic/patients/docUploadImg.vue'], resolve) //上传影像
const myDown = resolve => require(['../page/my/myDown.vue'], resolve)// 我的下载
const myDownManage = resolve => require(['../frame/myDownFrame/myDownManage.vue'], resolve)// 我的下载管理
const freeZone = resolve => require(['../page/home/freeZone.vue'], resolve) //学习专区*
const editSeries = resolve => require(['../page/home/editSeries.vue'], resolve) //设置信息 编辑系列课*
const setInfo = resolve => require(['../page/home/setInfo.vue'], resolve) //设置信息*
const doctorList = resolve => require(['../page/home/doctorList.vue'], resolve) //牙医榜*
const selectAuth = resolve => require(['../frame/doctorList/selectAuth.vue'], resolve) //牙医榜牙医认证会员选择*
const organizationData = resolve => require(['../frame/myAccountFrame/authenticationFrame/organizationData.vue'], resolve) //机构基本资料
const organizationQualificationCertificate = resolve => require(['../frame/myAccountFrame/authenticationFrame/organizationQualificationCertificate.vue'], resolve) //机构资格证书认证
const suggestion = resolve => require(['../frame/settingFrame/suggestion.vue'], resolve)//意见反馈
const createSingleClass = resolve => require(['../frame/createCourseFrame/createSingleClass.vue'], resolve) //创建单节课程
//直播
const broadcast = resolve => require(['../page/broadcast.vue'], resolve)
const test  = resolve => require(['../page/test.vue'], resolve)
const fullLive = resolve => require(['../page/home/fullLive.vue'], resolve) //直播全屏页*
const liveInteractive = resolve => require(['../page/home/liveInteractive.vue'], resolve) //直播互动
const beginLive = resolve => require(['../page/home/beginLive.vue'], resolve) //开始直播
const anchor = resolve => require(['../frame/myAccountFrame/authenticationFrame/anchor.vue'], resolve) //主播认证
const living = resolve => require(['../page/home/living.vue'], resolve) //视频直播中
const myLiveRoom = resolve => require(['../page/my/myLiveRoom.vue'], resolve) //我的直播间
const liveRoomSet = resolve => require(['../frame/liveRoomFrame/liveRoomSet.vue'], resolve) //直播间设置
const liveRoomIntroduct = resolve => require(['../frame/liveRoomFrame/liveRoomIntroduct.vue'], resolve) //直播间简介
const liveRoomAuthentication = resolve => require(['../frame/liveRoomFrame/liveRoomAuthentication.vue'], resolve) //直播间认证
const createLiveCourse = resolve => require(['../page/my/createLiveCourse.vue'], resolve) //创建直播课程

export default new Router({
  //   mode: 'history',
  routes: [{
      path: '/',
      redirect: '/login1',
    },
    {
      path: '/index',
      component: index,
      'children': [{
          path: '/groupbuy',
          name: 'groupbuy',
          component: groupbuy,
          meta: {
            keepAlive: true
          }
        },
        {
          path: '/home',
          name: 'home',
          component: home,
        //   meta: {
        //     keepAlive: true
        //   }
        },
        {
          path: '/column',
          name: 'column',
          component: column,
          meta: {
            keepAlive: true
          }
        },
        {
          path: '/doctorAuth',
          name: 'doctorAuth',
          component: doctorAuth,
        },
        {
          path: '/my',
          name: 'my',
          component: my,
        //   meta: {
        //     keepAlive: true
        //   }
        },
        {
          path: '/broadcast',
          name: 'broadcast',
          component: broadcast,
        }
      ],
    },
    {
      path: '/doctorvipAuth1',
      name: 'doctorvipAuth1',
      component: doctorvipAuth1
    },
    {
      path: '/vipPay',
      name: 'vipPay',
      component: vipPay
    },
    {
      path: '/authSuccess',
      name: 'authSuccess',
      component: authSuccess
    },
    {
      path: '/ImDoctor',
      name: 'ImDoctor',
      component: ImDoctor
    },
    {
      path: '/docOrder',
      name: 'docOrder',
      component: docOrder,
    //   meta: {
    //     keepAlive: true
    //   }
    },
    {
      path: '/addOrderDetails',
      name: 'addOrderDetails',
      component: addOrderDetails
    },
    {
      path: '/addOrder',
      name: 'addOrder',
      component: addOrder,
      //   meta: {
      //     keepAlive: true
      //   }
    },
    {
      path: '/consultation_order',
      name: 'consultation_order',
      component: consultation_order
    },
    {
      path: '/consultation_orderdetails',
      name: 'consultation_orderdetails',
      component: consultation_orderdetails
    },
    {
      path: '/docShare',
      name: 'docShare',
      component: docShare
    },
    {
      path: '/docComment',
      name: 'docComment',
      component: docComment
    },
    {
      path: '/doctortype',
      name: 'doctortype',
      component: doctortype
    },
    {
      path: '/docConsultation',
      name: 'docConsultation',
      component: docConsultation
    },
    {
      path: '/cityClinic',
      name: 'cityClinic',
      component: cityClinic
    },
    {
      path: '/expertList',
      name: 'expertList',
      component: expertList
    },
    {
      path: '/payConsultation',
      name: 'payConsultation',
      component: payConsultation
    },
    {
      path: '/selectClinic',
      name: 'selectClinic',
      component: selectClinic
    },
    {
      path: '/setAddress',
      name: 'setAddress',
      component: setAddress
    },
    {
      path: '/addClinicAddress',
      name: 'addClinicAddress',
      component: addClinicAddress
    },
    {
      path: '/clinicDetail',
      name: 'clinicDetail',
      component: clinicDetail,
      // meta: {
      //     keepAlive: true
      //   }
    },
    {
      path: '/clinicAllComment',
      name: 'clinicAllComment',
      component: clinicAllComment
    },
    {
      path: '/toolsSelect',
      name: 'toolsSelect',
      component: toolsSelect
    },
    {
      path: '/useTime',
      name: 'useTime',
      component: useTime
    },
    {
      path: '/docSubmitOrder',
      name: 'docSubmitOrder',
      component: docSubmitOrder
    },
    {
      path: '/docOrderDetails',
      name: 'docOrderDetails',
      component: docOrderDetails
    },
    {
      path: '/clinicCard',
      name: 'clinicCard',
      component: clinicCard
    },

    {
      path: '/ImClinic',
      name: 'ImClinic',
      component: ImClinic
    },
    {
      path: '/ImPatient',
      name: 'ImPatient',
      component: ImPatient
    },
    {
      path: '/findDoctor',
      name: 'findDoctor',
      component: findDoctor
    },
    {
      path: '/findClinic',
      name: 'findClinic',
      component: findClinic
    },
    {
      path: '/customOrder',
      name: 'customOrder',
      component: customOrder
    },
    {
      path: '/cityList',
      name: 'cityList',
      component: cityList
    },
    {
      path: '/cust_orderdetail',
      name: 'cust_orderdetail',
      component: cust_orderdetail
    },
    {
      path: '/subCustomData',
      name: 'subCustomData',
      component: subCustomData
    },
    {
      path: '/customerReviews',
      name: 'customerReviews',
      component: customerReviews
    },
    {
      path: '/customerReviews1',
      name: 'customerReviews1',
      component: customerReviews1
    },
    {
      path: '/customerReviews2',
      name: 'customerReviews2',
      component: customerReviews2
    },
    {
      path: '/clinicAddress',
      name: 'clinicAddress',
      component: clinicAddress
    },
    {
      path: '/clinicAllEquip',
      name: 'clinicAllEquip',
      component: clinicAllEquip
    },
    {
      path: '/clinicAllApplication',
      name: 'clinicAllApplication',
      component: clinicAllApplication
    },
    {
      path: '/clinicEquip',
      name: 'clinicEquip',
      component: clinicEquip
    },
    {
      path: '/timingInstructions',
      name: 'timingInstructions',
      component: timingInstructions
    },
    {
      path: '/timing',
      name: 'timing',
      component: timing
    },
    {
      path: '/card',
      name: 'card',
      component: card
    },
    {
      path: '/chargeDetails',
      name: 'chargeDetails',
      component: chargeDetails
    },
    {
      path: '/freeZone',
      name: 'freeZone',
      component: freeZone
    },
    {
      path: '/doctorList',
      name: 'doctorList',
      component: doctorList
    },
    {
      path: '/selectAuth',
      name: 'selectAuth',
      component: selectAuth
    },
    {
      path: '/liveZone',
      name: 'liveZone',
      component: liveZone,
      meta: {
        keepAlive: true
      }
    },
    {
      path: '/homeDetail',
      name: 'homeDetail',
      component: homeDetail
    },
    {
      path: '/fullScreen',
      name: 'fullScreen',
      component: fullScreen
    },
    {
      path: '/fullLive',
      name: 'fullLive',
      component: fullLive
    },
    {
      path: '/liveInteractive',
      name: 'liveInteractive',
      component: liveInteractive
    },
    {
      path: '/setInfo',
      name: 'setInfo',
      component: setInfo
    },
    {
      path: '/editSeries',
      name: 'editSeries',
      component: editSeries
    },
    {
      path: '/beginLive',
      name: 'beginLive',
      component: beginLive
    },
    {
      path: '/living',
      name: 'living',
      component: living
    },
    {
      path: '/searchCourse',
      name: 'searchCourse',
      component: searchCourse
    },
    {
      path: '/columndetail',
      name: 'columndetail',
      component: Columndetail
    },
    {
      path: '/firmOrder', //确认订单
      name: 'firmOrder',
      component: firmOrder
    },
    {
      path: '/Coupon', //优惠券
      name: 'Coupon',
      component: Coupon
    },
    {
      path: '/selectAddress', //选择收货地址
      name: 'selectAddress',
      component: selectAddress
    },
    {
      path: '/addAddress', //添加收货地址
      name: 'addAddress',
      component: addAddress
    },
    {
      path: '/registor',
      name: 'registor',
      component: registor
    },
    {
      path: '/login1',
      name: 'login1',
      component: login1
    },
    {
      path: '/login2',
      name: 'login2',
      component: login2
    },
    {
      path: '/forgetPass',
      name: 'forgetPass',
      component: forgetPass
    },
    {
      path: '/myCourse',
      name: 'myCourse',
      component: myCourse
    },
    {
      path: '/myCollect',
      name: 'myCollect',
      component: myCollect
    },
    {
      path: '/myTake',
      name: 'myTake',
      component: myTake
    },
    {
      path: '/myDown',
      name: 'myDown',
      component: myDown
    },
    {
      path: '/myDownManage',
      name: 'myDownManage',
      component: myDownManage
    },
    {
      path: '/createCourse',
      name: 'createCourse',
      component: createCourse
    },
    {
        path: '/addCourse',
        name: 'addCourse',
        component: addCourse
      },
    
    {
      path: '/createLiveCourse',
      name: 'createLiveCourse',
      component: createLiveCourse
    },
    {
      path: '/myClinic',
      name: 'myClinic',
      component: myClinic
    },
    {
      path: '/appointmentTime',
      name: 'appointmentTime',
      component: appointmentTime
    },
    {
      path: '/addNewAppointment',
      name: 'addNewAppointment',
      component: addNewAppointment,
      //   meta: {
      //     keepAlive: true
      //   }
    },

    {
      path: '/selectProject',
      name: 'selectProject',
      component: selectProject
    },
    {
      path: '/selectpatient',
      name: 'selectpatient',
      component: selectpatient
    },
    {
      path: '/allpatient',
      name: 'allpatient',
      component: allpatient
    },

    {
      path: '/addPatient',
      name: 'addPatient',
      component: addPatient
    },
    {
      path: '/returnVisit',
      name: 'returnVisit',
      component: returnVisit
    },
    {
      path: '/addReturnVisit',
      name: 'addReturnVisit',
      component: addReturnVisit
    //   meta: {
    //     keepAlive: true
    //   }
    },
    {
      path: '/patientDetails',
      name: 'patientDetails',
      component: patientDetails
    },
    {
      path: '/patienttime',
      name: 'patienttime',
      component: patienttime
    },
    {
      path: '/clinicDetails',
      name: 'clinicDetails',
      component: clinicDetails
    },
    {
      path: '/reservation_record',
      name: 'reservation_record',
      component: reservation_record
    },
    {
      path: '/allrecord',
      name: 'allrecord',
      component: allrecord
    },
    {
      path: '/reservation_details',
      name: 'reservation_details',
      component: reservation_details
    },
    {
      path: '/medical_records',
      name: 'medical_records',
      component: medical_records,
      meta: {
        keepAlive: true
      }
    },
    {
      path: '/medical_records1',
      name: 'medical_records1',
      component: medical_records1,
      meta: {
        keepAlive: true
      }

    },
    {
      path: '/medical_details',
      name: 'medical_details',
      component: medical_details,
    },
    {
      path: '/edit_medical',
      name: 'edit_medical',
      component: edit_medical,
      meta: {
        keepAlive: true
      }
    },
    {
      path: '/editEvery',
      name: 'editEvery',
      component: editEvery,
      meta: {
        keepAlive: true
      }
    },
    {
      path: '/docUploadImg',
      name: 'docUploadImg',
      component: docUploadImg,
    },
    {
      path: '/myLiveRoom',
      name: 'myLiveRoom',
      component: myLiveRoom
    },
    {
      path: '/liveRoomSet',
      name: 'liveRoomSet',
      component: liveRoomSet
    },
    {
      path: '/liveRoomIntroduct',
      name: 'liveRoomIntroduct',
      component: liveRoomIntroduct
    },
    {
      path: '/liveRoomAuthentication',
      name: 'liveRoomAuthentication',
      component: liveRoomAuthentication
    },
    {
      path: '/createSingleClass',
      name: 'createSingleClass',
      component: createSingleClass
    },
    {
      path: '/uploadFile', //文件上传
      name: 'uploadFile',
      component: uploadFile
    },
    {
      path: '/fileDetail', //文件详情
      name: 'fileDetail',
      component: fileDetail
    },
    {
      path: '/myNews',
      name: 'myNews',
      component: myNews
    },
    {
      path: '/myIc',
      name: 'myIc',
      component: myIc
    },
    {
      path: '/supplyRoom',
      name: 'supplyRoom',
      component: supplyRoom
    },
    {
      path: '/myNewsDetails',
      name: 'myNewsDetails',
      component: myNewsDetails
    },
    {
      path: '/orderManagement',
      name: 'orderManagement',
      component: orderManagement
    },
    {
      path: '/personalInfo',
      name: 'personalInfo',
      component: personalInfo
    },
    {
      path: '/changeNickName',
      name: 'changeNickName',
      component: changeNickName
    },
    {
      path: '/personalHomePage',
      name: 'personalHomePage',
      component: personalHomePage
    },
    // 点滴积累
    {
      path: '/dailyProblem',
      name: 'dailyProblem',
      component: dailyProblem
    },
    {
      path: '/doProblem',
      name: 'doProblem',
      component: doProblem
    },
    {
      path: '/testScores',
      name: 'testScores',
      component: testScores
    },
    {
      path: '/myAccount', //我的账户
      name: 'myAccount',
      component: myAccount
    },
    {
      path: '/recharge',
      name: 'recharge',
      component: recharge
    },
    {
      path: '/withdraw',
      name: 'withdraw',
      component: withdraw
    },
    {
      path: '/myearnings',
      name: 'myearnings',
      component: myearnings
    },
    {
      path: '/authentication', //认证
      name: 'authentication',
      component: authentication
    },
    {
      path: '/anchor', //主播认证
      name: 'anchor',
      component: anchor
    },
    {
      path: '/personalData', //个人资料
      name: 'personalData',
      component: personalData
    },
    {
      path: '/qualificationCertificate', //个人资格证书
      name: 'qualificationCertificate',
      component: qualificationCertificate
    },
    {
      path: '/organizationData', //机构基本资料
      name: 'organizationData',
      component: organizationData
    },
    {
      path: '/organizationQualificationCertificate', //机构资格证书
      name: 'organizationQualificationCertificate',
      component: organizationQualificationCertificate
    },
    {
      path: '/amountBeSettled',
      name: 'amountBeSettled',
      component: amountBeSettled
    },
    {
      path: '/withdrawDetail',
      name: 'withdrawDetail',
      component: withdrawDetail
    },
    //设置
    {
      path: '/setting',
      name: 'setting',
      component: setting
    },
    {
      path: '/modifyPassword',
      name: 'modifyPassword',
      component: modifyPassword
    },
    {
      path: '/suggestion',
      name: 'suggestion',
      component: suggestion
    },

    {
      path: "/groupbuycommoditydetails",
      name: 'groupbuycommoditydetails',
      component: groupbuycommoditydetails
    },
    {
      path: "/pintuan",
      name: 'pintuan',
      component: pintuan
    },
    {
      path: "/shoppingcart",
      name: 'shoppingcart',
      component: shoppingcart
    },
    //在线咨询

    {
      path: '/advisory',
      name: 'advisory',
      component: advisory
    },


    {
      path: "/test",
      name: 'test',
      component: test,
      meta: {
        title: 'test',
        keepAlive: true
      }
    },
    {
      path: '*',
      redirect: '/home',
    },
    // { path: '*', component: NotFoundComponent }
  ],
})
